package com.dazhi.show.story.emperor.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

// 皇帝表
@TableName(value = "emperor")
public class Emperor {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField(value = "name")
    private String name;    // 姓名
    @TableField(value = "dynasty")
    private String dynasty; // 朝代
    @TableField(value = "dynasty_title")
    private String dynastyTitle;    // 庙号
    @TableField(value = "reign_title")
    private String reignTitle;  // 年号
    @TableField(value = "mausoleum")
    private String mausoleum;   // 陵墓
    @TableField(value = "date_of_birth")
    private String dateOfBirth;   // 出生日期
    @TableField(value = "date_of_death")
    private String dateOfDeath;   // 死亡日期
    @TableField(value = "introduction")
    private String introduction;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDynasty() {
        return dynasty;
    }

    public void setDynasty(String dynasty) {
        this.dynasty = dynasty;
    }

    public String getDynastyTitle() {
        return dynastyTitle;
    }

    public void setDynastyTitle(String dynastyTitle) {
        this.dynastyTitle = dynastyTitle;
    }

    public String getReignTitle() {
        return reignTitle;
    }

    public void setReignTitle(String reignTitle) {
        this.reignTitle = reignTitle;
    }

    public String getMausoleum() {
        return mausoleum;
    }

    public void setMausoleum(String mausoleum) {
        this.mausoleum = mausoleum;
    }

    public String getDateOfBirth() {
        return dateOfBirth;
    }

    public void setDateOfBirth(String dateOfBirth) {
        this.dateOfBirth = dateOfBirth;
    }

    public String getDateOfDeath() {
        return dateOfDeath;
    }

    public void setDateOfDeath(String dateOfDeath) {
        this.dateOfDeath = dateOfDeath;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }
}
